#pow
Description: Calculate the power.
def pow(x, y):
'''
Calculate power
:param x: Base
:param y: Exponent
:return: x raised to the power y
'''
Example:
print(pow(2, 3))
About 398 letters
About 2 minutes
Description: Calculate the power.
def pow(x, y):
'''
Calculate power
:param x: Base
:param y: Exponent
:return: x raised to the power y
'''
Example:
print(pow(2, 3))
Created in 6/9/2025
Updated in 6/9/2025